package com.example.adms.businessTrip.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;

@Data
public class QueryBusinessTrip {
    String userId;
    int departId;
    Integer pass;

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private LocalDate startTime;

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private LocalDate endTime;

    Long pageNumber;
    Long pageSize;
}
